package main

import (
	"log"

	"gitee.com/dark.H/DataDash/in"
)

func main() {
	// in.Test()
	// in.TestWindows()
	// in.TestMongo()
	bottle, err := in.NewXlsxBottle("xlsx:///tmp/test.xlsx")
	if err != nil {
		log.Fatal(err)
	}
	gs := bottle.Query(in.OperWith("").Set(in.G{
		"len":  100,
		"page": 0,
	}).Grep(in.G{
		"手机": "96212634",
	}))
	for _, g := range gs {
		println("-=---")
		in.ColorD(g)
	}

}
